Added test for logical not.