Improved testing tools for events on websockets to use queues