Add tests for upgrade from v0.7 to v1.0