Add test for matching path segment with .