Test case for GROOVY-6939
Test case for GROOVY-6940
Test case for GROOVY-6941