improving tests to test float type