added support for string functions ToUpper(), ToLower(), Trim()
added unit tests for better coverage