Adds unit test for listening for room events