add testmatch() capability