adds tests for the op_cmp operation