mocha tests with requirejs for dependency management