Added Jasmine, Karma and a few tests