Add tests for utf8 encoded TGF file.