test for string