Can we test In-app purchase cancellation functionality in sandbox environment i.e, with sandbox tester?

We have added successfully implemented In-app purchase functionality with auto-renewable type subscription. Everything is working fine. But we want to know, is it possible to test cancellation of subscription by sandbox testes account? If yes, How can we test?