Added some Jasmine tests (and Karma configuration file)