refine test apps