This test tests that the statement success callback is called in the right world.