tests: convert all tests to mocha