Removing all event listeners before and after failing testin an effort to fix it