Suppose and are two independent and identically distributed random variables with Normal distribution. Further, consider a Bernoulli random variable with , which is independent of and . Define as For testing against consider the test: Find such that the test has size .
Source: ISI MStat