Add a new test for new operator function
Minor fixes to operator tests