Fixed some bug in fit with 1 step.  Refs #7788.
Added 1 more unit test.  Refs #7788.
Merge branch 'feature/7788_fit_peak' into develop