[String] Improve Format test suite.