GROOVY-6840: Add Test Case for Empty Lists
Update PR #434