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