added karma to run tests