This test passes if you see six lines of text (italic, italic, bold, bold, bold italic and bold italic) with the corresponding style applied:

italic

italic

bold

bold

bold italic

bold italic