Unit tests with karma based on jasmine.