Add the test for chaining.