Declarative path tests
Fix a bug in `websocket-test.js` referencing done() not declared in test() function signature, was causing failure of subsequent test suite, due to mocha's enveloped exception handling style