Get rid of strcmp and strlen calls in OFString tests.