add test code for RollingTriangle