using test route
fixing App::error so custom error page renders in production environment