Added test case for String#end_with? with string of length 2.
Fix for string-length-related issue in String#end_with? logic.