test(websocket-spec): add promise test and fix tests coffeelint warnings

- add test for ensuring that send function returns a promise object
- fix coffeelint issues

closes REALLY-72