finally had some more time and added some proper integration tests: https://github.com/hibernate/hibernate-orm/pull/7013