Server Testing

Bringing down the technical debt of the project with some testing for
the server code.  Should help me figure out what needs to be rewritten
to be better.