[PATCH v18 8/9] test: Add migration tests