test: Add pmatch tests.