updated isStartsWith isEndsWith tests