added tests to testExpression