typo
typo
made the sorting for the DocElements special
cleared the used registry before the test, otherwise it gives different results in different situations
changed test to JUnit4