Start writing server-side tests
TODO: Lots of tests remain to be written, and the server-side API needs
to support the new request manufacturing protocol.

I also need to figure that protocol out, but one thing at a time.