Logging and unit tests to FetchAction.

Fetching from web servers is mocked using Wiremock.