Updated the Python 3.3 tests to reflect the new transaction hooks.
Updated the Python 2.7 tests to reflect the new transaction hooks.