Effective ADC linearity testing using sinewaves