Added test - to check content host names are unique

please review it 
thanks
In this test, CLIFactoryError is the expected output correct?