use comparison with tolerance in test-002 and test-004