[PATCH 1/2] cmd/tests: Add tests for batch files encoded in UTF-8.