close transaction at end of test, to prevent db shutdown wait
must reuse ExecutionEngine, otherwise the query cache is not utilized even with parameters and it will re-parse and build query plans for every new query
transaction handling in try-with-resource around init
also small refactoring
Merge pull request #20 from jexp/master

close transaction at end of test, to prevent db shutdown wait