Fixed default spectra range issue, added more unit tests

Refs #7860