Added a check to make sure rollback is called

Hi John, You would need to make the same check in your JTS test.