update tests for removed HttpClient