verifyed the parse of string with '\n'