add WITH-PLYFILE macro
add test.ply file for test