Fix mod_muc_room to pass unit tests