modified test to do a match instead of search
modified test to do a match instead of search