migrated all Circle tests from old unit test framework to Mocha