Fix parser test and update parsing of redirecting routes.