add tests for functions with multiple parameters