Updated expected test results according to warnings raised by substr_compare