add tests to validate uniqueness on relation