refine ray tracing test case