add tests for get_param functions