In the process refactored the code being tested. - Move notifications code in MUC to src/converse-notification.js - Trigger the 'contactStatusChanged' event in RosterContact and not in ChatBoxView (which might not exist).