fixed substring Indexing on UT's

removed the negative values on substring methods used in unit tests