nit: replace with `sinon.assert.called(ThreadListUI.appendThread)`