Add unit tests using Jasmine BDD and Karma test runner