adding chaining api tests