Created test for TreeNode#ValueAsBool