TStr unit tests