fix test by stripping search params when switching from push to hash