move socket.io logging manipulation to test file (which is where we really want it)