[PATCH v17 8/8] test: Add migration tests