test with a 3-switch scenario