you should add a test for the case where it is not a ConstantExpression