Tests that changing a property is undone properly.