HHH-9028 Test case: when second level cache is enabled, the session returns the objects even if the class doesn't match
HHH-9028 corrected Session#get for caching w/ polymorphism, improved
tests