Fixing the Unit Test for floats