changed the test runner over to mocha and added tests for socket.io