test for order cancellation