Tests passing except for a bug in receiving events...
Do not print_endline as we already receive a \n.