Test for creating collections with existing name.