Test construction of flow for snapshot migration