test for roll back