[DF-3984] Added test of different sizes of font