NodeJS SocketIO - Code and testing first interactions