Remove network calls during tests