ref test to get base url from params