Adding support code to test the matcher