Testing the cancel order function