Fix ticket 23699 Migrate in unittest still loads initial data

Fixed #23699 Migrate in unittest still loads initial data
I don't see the need for `TransactionTestCase` and the `atomic` context managers?