Add a unit test to verifies that attribute uniquing works so it doesn't break again.