fixed test with httpMock