Added tests for AbstractExpression.