Fix savepoint-related wrappers.
Improve error logging in tests.
Oops, don't use TransactionTestCase.