insertion sort test methods for checking floating point arrays