new test util for local operator