removed superfluous log in unit test
Added font sizes unit test
Also refactored the attributed string loading into two helper methods to reduce duplication.
Unit Test for #302 and #303