Use WebMock to mock network.