building proper trees in a few simple tests in the repl