[PATCH v21 2/5] test: Add migration tests