Fixed socket.io issue with testing (for now?).
Fixed socket.io issue with testing (for now?)(Applied fix to all tests failing because of it).
Wrote a couple of tests for fun.