Add test case for semicolon in string