add test case using karma with jasmine