fixed the add/removecontent-host test for hostcollection