Add test for Socket.IO API
Define missing local variable "connection"
No need to trigger callback on receive
Fix typo:
assertThrow =>
assertThrows
Export list of socket.IO commands
Define mocked connection with expectations for "on" method
Test front-to-back communication by socket.io API correctly