util macros
qtree rendering support
tests for qtree rendering