Add test case for #1088
Fix serialization
Merge pull request #1091 from querydsl/i1088

Fix collection serialization in case constructs