Added karma config, and jasmine test  scenerios