fixed UnitTest for finishTransaction with ConfigWriter
Added roleback for abort and shutdown