Add n_val test to correct file