add jasmine tests and karma