Added test case for document hierarchy without DiscriminatorMap annotation