Add test for logical negation of condition.