Made registerArchetypeTree public and fixed formatting
Added a test (which can be executed lazy or non lazy) based on the
existing include subtree tests.