fixed semicolumn bug and test added for string.