add test for string regular expression