Add test code for NaN data and test results

NaN data is slower than non NaN data