testing switch branches