Added Karma/jasmine/PhantomJS for unit testing