fix tests to compare values, not quantities