Added Jasmine and some unit tests