Pagecontainer: Remove hash and search from expected URL