Tests for local path function