Add tests for SED roundoff guard and redshift bug fix
(#520)