Simplify tests by using float quantities