ws events tests: moved done() to the ws message event listener