[OTF:1619] Resolved data type return issue for GetTextResource method. Updated relevant test files.