Add upgrade for V0.6 to V0.7 according to the example
Add test cases for upgrade from V0.5 to V0.7