Refactor HpHostsTest._set_up_get_mock
Refactor HpHostsTest._set_up_get_mock

The function providing side effects for get mock is being moved outside of class
and a new function is added for creating it with proper values in the scope.

piotr-rusin/spam-lists