Add tests for cancel/check/getcount on callbacks.