adding test to make sure each item object has a valid format