Moved test/default.js to test/test.js, restructured, and added client tests.
Wrote lib/start.js for running as standalone.
Wrote convenience method for test requests and wrote more tests.