Unit test for OPlogic