add ray testing support