[OTF:1619] GetTextResourceQuery tests and code update