add test config and integration testing of optional params (query-param)