Revert removal for asserting hosts match in hostsgroup tests