ValueExpression class and tests