fix gen errors with new testing
added generator-mocha-amd functionality