Fix test and migration settings.