add test for internal function which validates a parameter name
bug fix: validation of parameter names had an error in cases a parameter name is null, undefined or an empty string