Fixed testing for string