add switch_test without break