Added more unit tests for type handling; found problems with handling of EnumSet, fixed some, one remains (generic problem with type narrowing, affects other types too);5

8 files changed