Refine testing