add longest_string1 and some test cases