Add python test for operators