set up unit test using karmar+jasmine+mock