handle negated tests more generally