Fixed Karma, tests work now