fixed test to work with uniqueID