inverted logic in test