title: Unit-Testing with Karma not calling functions
body: <p>I am trying to perform unit testing with Karma. I have done everything according to the documentation. When I write this part of the test that follows it never calls the last two functions.</p>
  
  <pre><code>it('should create the mock object', function (done) {
  
      service.createObj(mockObj)
          .then(test)
          .catch(failTest)
          .finally(done);
  });
  var test = function() {
      expect(2).toEqual(1);
  };
  
  var failTest = function(error) {
      expect(2).toEqual(1);
  };
  </code></pre>