added karma to run unit tests