fixed tests for use of transaction management