add tests and functionality for single value param or params as function