Added test for chaining multiple thens