Test Logical Operator