Adding unit testing support through Karma and jasmine