Add test declarations.
Add cancel() and refund() method declarations.