tests/testpat: Add -m flag