169badc fix unit tests for listHosts

Authored and Committed by mikem a year ago
    fix unit tests for listHosts