Add test of transaction success callback