More unit tests, and more support for http status codes.