Add test to expose memory corruption in PolyMesh/Geometry