Invert result values, strcmp-like
Add unit tests