Tests/Debugging

Debugging of navigation and some debugging of scanning.
Updated JavaDocs
Updated testclasses