Repaireed test to check that font file path ended with style according to macStyle