switch to mocha for tests