tests for transaction control