fixed $get syntax
new test case to check for relations within inner root
various bugfixes