[OTF:1619] TextResource Service. Query and exception tests