Test case for operator chaining