HHH-8573: Test case illustrating creation of a superclass instance when
subclass instance needed
HHH-8573: Persister is taken according to the actual type of the replaced object
HHH-8573 refactored test case