Testing Web Sockets and Web Workers