We should try achieving near 100% test coverage.
For this purpose I would consider writing a mock API server (or use external solution, like this one ).