test how tree module works
moar abstracting