HHH-8701 - Fix JPQL TYPE operator test

Fix JPQL TYPE operator test.
Link: https://hibernate.atlassian.net/browse/HHH-8701

Best regards,
Lukasz Antoniak