Added some comments to TTPrimitive.
Added a new unit test.