test callback execution