tests for migration should then be done directly when it gets applied to verify it not in general but in the actual situation. So this has not much to do with unit/functional testing.