add test to prevent deletion of sold item