Test remove errorpage query string