Added Karma testing framework and integrated with grunt.