WebSockets Unit Test