Added one more column in output to indicate fit quality. Refs #7789.
Corrected some error during unit test. Refs #7789.