unit test cases for facts/switch_style.py