add test migration in memory to TestCase