HHH-9028 Test case: when second level cache is enabled, the session retu...

...rns the objects even if the class doesn't match