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

- merging with Ihab
- add test for ensure returning a promise object
- fix coffeelint issues

closes REALLY-72