Initial implementation of a test case and test client

This is very much an experiment in how to organize these, consider it a
work in progress.