Test for Groovy.chain() method.