Added test for string.trim()