add onebody test code