fix test regressions for debian