Fix database live tests (don't create location reg directly)

- use managementContext.getLocationRegistry()