Make tree classes register themselves.
Adapt testing classes to tree autoregistration.
Merge pull request #29 from GaretJax/autoregistration

Autoregistration