Refine test for callback