Added sinon and matchers to test. Updated karma config.