fix tests that fail because of database float precision