functional test case for reverted graph update.

functional test case for:
- update replace
- update with graph dependencies reverted