Add test for reportHosts()