Adding transaction unit tests, cleaning up existing tests.