add toOoperator unit tests