Test contract presence validation for edit item