[DF-4762] Add text size unit test