[FIX] fixed missing range update for spectra
[FIX] fixed failing unit tests