Add jasmine/karma tests