test branch switching