[INTERNAL,TEST] Adds test for different traversal spec and adds some refactoring.
[FIX] Fixes some compiler issues.
[FIX] Fixes some issues with the traversal.
[FIX] Fixes issue with mapVirtualToVirtual interface.