Test HasAnyMatch()