Switched tests to mocha