[PATCH v23 4/4] test: Add migration tests