fixed the regression tests