Fixed some unit test.  Refs #6863.