refine test pending status