test 15: variable switch