string testcase improved