test cases added for floats