HHH-7714 Add unit test

Added a (substantial) unit test to demonstrate how to use JPA Criteria queries with EntityMode.MAP models.