fixed a little test bug that didnt replace the mocked io.sockets back to its built-in functionality after each test