Add params field to Referer, update test suite