Add code to test objects for an unwanted modification