#11: Print visual tree

Added visual tree printing in some of the tests.