Split testAddNodeAutoNamed to cover more cases and remove dependency on the test: namespace