Test for unicode characters in grains outputter

Wrote a unit test to test handling unicode characters in the grains outputter.

Refs #13176