Added some unique constraint tests.