improve unit test for combined operation