Extended the tests to page.resource.received event
Replace own logic with utils.decodeUrl()