added Karma for unit testing