Add test for rolling back index creation.