Issue 502 : adding test case.
FIX issue 502 : can't inherit HashSet in entity's property. Now, generic
can be declared on superclass.
slight tweaks and clean up
walk up the tree