unit test for notifyRoomChanges