test cases for logical boolean expressions
special implementation for || and && bianry expressions.