added tests for operators