Added simple testing for unary logical expressions.