Replace console.log with log

This makes it so that when you run the mocha tests in node, not so many things are console.logged.