Fixed basic transaction logic of integration tests