improve test_llvmswitch