Enhance the nonlinearity test by adding the AND / OR difference testing.