test case for floating point compare