Improved unit test, added sample file for comparison

Refs #10085