Do not generate spans for empty string fields (LT-15810)

* Test ITsString data before generating span
* Add TsStringUtils method for testing a string
* Add test to verify fix
* Repair an old test that had lost its purpose in life

Change-Id: I024296974bda83be90667c0aaf37ded8301a81f1