Updated mocha adapter to prevent extra call to test runner