same thing here; I prefer that you check at the end that leaveActivity was called using sinon.assert.called.