Added cancellation tests