implement Element getTree with depth

fixes #36
If you don't like `Test.pm`, rename it to `CCMTest` or `Test::CCM`. `myTest` doesn't make it any better. :-p