[PATCH v12 6/6] test: Add migration tests