Parallel tests
Wrap invoice generation in a transaction