Add HasSample matcher