Make sure the 404 and 500 views return the right status codes