adding unit test for delegate callback after operation cancellation