add string_test for learn string