Adding jasmine and karma tests.