Fixed error in dbtestcase's transactions