Migrated some more tests to Mocha + Chai.