Fix typo
Added test for path cache.