updated tests with socket.io integration