[1.7.x] Remove overzealous migration flushes from migration test suite