Fix rename attribute type since it is a reserved word
Fix test - type renamed to item_type
Remove default pending method