Gentests Fix

Fixed broken gentests by:-
-Commented generated tests for Java collection/map
-Filter out have length for Set.
-Explicitly specify type for traversable of traversable.