Added some comments to TTPrimitive.

Also added a new unit test.