adds test for testing negated attributes.