- added test for resolution of anoynmous sub types