move UrlBuilder steps to BeforeClass() in newTestTemplate and extend it in your test template. Override beforeMethod() in your test template.