Added cancellation test