written tests of separateUriParams and separateQueryParams methods