Hypothesis Testing for Nonlinearity Detection Based on an MA Model