Add tests for SubPathMatch