Test edit item validation: item not in stock, item in contracts