Added unique item test

Added unique item test makes sure all items are unique and if not will
write the duplicate causing an error to show up