A pharmaceutical manufacturer is concerned that the impurity concentration in pills does not exceed $3 \%$. It is known that from a particular production run, impurity concentrations follow a normal distribution with standard deviation $0.4 \%$. A random sample of 64 pills from a production run was checked, and the sample mean impurity concentration was found to be $3.07 \%$.
a. Test, at the $5 \%$ level, the null hypothesis that the population mean impurity concentration is $3 \%$ against the alternative that it is more than $3 \%$.
b. Find the probability of a $5 \%$-level test rejecting the null hypothesis when the true mean impurity concentration is $3.10 \%$.