Added NewLeafNodeTest.InitValidate test, fixed bug in validate.