Tested hasEncounter method for WorldMapNode class