TestMeshComponentMap: improve constness.