[infras] remove CharUtil and DateUtil, move array util test to right place.

The `CharUtil` is replaced by `java.lang.Character`.