Added test case for deep modification