Refine test