Add test to verify changes rollback correctly after deleting