switch test to string-match-p