Add test server

Implement a simple test server for use in the test suite.