Adds Jasmine unit tests.