mocked network client