Added output naming testing to unit test

Refs #10057