Missing whenHEAD method

That method should exists, please look at:
http://docs.angularjs.org/api/ngMock.$httpBackend