Fixed some error to pass test.  Refs #7184.