Test rights to branches