Added unit tests to some of str_utils.h functionality

CompareN.