inverted logic in a test