migrated from should.js to chai