Transaction context manager test.