cleanup getNodes tests a bit