Adding socket.io event for new process and test