Changed Gruntfile and karma.conf.js to make tests pass.