Tests for DataFetchTask
Refactored gson parsing into method