Transfer generation of test.js to grunt from testem
Implement `promisify()`