Added tests for VariableExpressionReplacer