Added a transform mocha test and removed leftover console.log