deleted unnecessary code
added includeme tests for nonexisting root
added metadata attributes