added check for object existence in testCreateAndRollbackTransaction()