added test checking var-params and functions in params