added some test in StringParserTest