Hypothesis Testing for Class-Conditional Noise Using Local Maximum Likelihood