add unit tests for UTF->substr() (Issue #501)

substr with negative offset returns all the remaining string whatever length is asked
Merge pull request #501 from emanwebdev/patch-1

add unit tests for UTF->substr() (Issue #501)