Add the very feeble beginnings of a testsuite
Remove the --server option

--apply - will serve quite well, and it cuts down on duplicate code.
Quieten down the random data spew in the tests
Allow the use of a snapshot file