Ogm 547 unique constraint on properties

https://hibernate.atlassian.net/browse/OGM-547
No, I'm expecting it to work but I will update the test