[enhancement] added tests for already taken unique attributes
[fix] fixed test to reinitialize existingId