added test cases for chaining call