Assert on numeric status code values in tests.

This makes it clearer, as we all know that the HTTP status codes mean.