Fixing scalar udfs that return strings

Making sure that scalar UDFs that return strings are correctly mocked.
Previous implementation would assume that the Length property of the
string result needed to be mocked as a column.