nonlinearity tests