add sample construction of Mesh to test
fix spelling
reserve memory to avoid null-pointer assignments