added test for modify