Changing chai.expect calls to chai.assert.