Added test - to check content host names are unique

please review it 
thanks
This assert is not necessary, you can replace with a `self.fail('Content host with same name should not be created')` because if the factory works than the test should fail.