fix tests, use multiple transactions