INT-3352 Add Aggregator Integration Test

- move lock registry to the `util` package
- Add an aggregator integration test