XCOMMONS-424: ReflectionUtils.resolveType does not work with child type not directly extending the passed type
* fix test
(cherry picked from commit 2448b5c374e1b02a0eea3bb8719a8c4ee85d28f7)