linearity test