now have a stub web socket to simulate rabbit, updated tests accordingly