[PRD-4564] fix testValidateAddingAConstantToSumFunction

http://jira.pentaho.com/browse/PRD-4564