fix for migration to test DB