insert tree func
function variables template
insert test
test relation consistency after insert