fix tests

properly remove listeners from websocket on sockjs tests
have websocket tests use websocket package instead of ws (like sockjs)
Merge pull request #187 from mad-eye/fix-tests

fix tests