updated migration and bb setting for tests