Added unit tests for checking cross tile/file way logic and fix unresolved nodes issue