fixed refine test