Please put in helper method "AssertNoDummyNodes" and fold all this into it rather than repeating the code