Test branch functionality