Adding tests to get a host

Test to get a host from a list of hosts by
its host name and verify that the host contains
a list of resources and the resources are actually
mapped to the host.

Change-Id: I6ed82cb0bd3ed0d4c89c493646330e3deaa91e8a
Merge "Adding tests to get a host"