Correct comparisons in tests.