Start implementing unit tests for TextItem / PointText.

One failing already.
Fix accidental global leakage.
Fix wrong default fillColor on TextItems.
Fix trailing comas.