test matching strings