add karma, jasmine, and tests