t/30-chained.t: add tests.