Close a loophole for a false positive test pass for GROOVY-6615.