[FOLD] more error messages
[FOLD] better json checking
Error reporting tests
Check result.error against declared code
Start and stop main server before/after each test.
Teardown servers on process `exit` rather than on `uncaughtException`