added getHostsAvailable() / getHostsDisabled() for statistical purposes
added tests