Added a test case to investigate the rollback issue.