testing setMock