Add test to show that fix for GROOVY-6582 works.