Add and fix failing test with the not operator.