Add a test for the HttpStatusCode field