fixed the test when checking float values