Add a simple http server for testing, and some tests to go with it.