test(chat): Finish test coverage of chatCtrl.