Fix bad console output during tests

The `console.log` spy was only initialized in one spec so another spec ended up calling `console.log` without a spy and the output broke the many pretty green dots that jasmine outputs.

Also adds `node_modules/` to *gitignore*