Fixed problem with font styles
Proper tests