#2229 fix memory test by cleaning up

git-svn-id: https://chaste.cs.ox.ac.uk/svn/chaste/trunk@18296 b5f69653-2bf5-0310-8201-b0dafb8e1405
#2261 make nodes keep their global index throughout a `NodeBased` simulation. See ticket for more details.

git-svn-id: https://chaste.cs.ox.ac.uk/svn/chaste/trunk@18305 b5f69653-2bf5-0310-8201-b0dafb8e1405
#2261 fix parallel build.

git-svn-id: https://chaste.cs.ox.ac.uk/svn/chaste/trunk@18306 b5f69653-2bf5-0310-8201-b0dafb8e1405
#2261 forgot to remove noTests

git-svn-id: https://chaste.cs.ox.ac.uk/svn/chaste/trunk@18307 b5f69653-2bf5-0310-8201-b0dafb8e1405