Add testing with karma and jasmine.