Fix UniqueIndexTest assertion