add tests for operator module