Fixed unit test.  Refs #7476.