Test: Added the testcases for the way finding.