Add missing javadoc.
Tests for path matcher.