add test for setCurrentStyle()