Add tests for BaseSubPathMatcher