added more test cases to string