Refactored UrlBuilderException, improved tests, changed DI for PageFactory.