Added test - to check content host names are unique

please review it 
thanks
May be write a comment like the following to make it more clear?
`If this part of the code is reached, it means that the new content host is created with the same name as an existing content host - test failed`