tests for cancelling item