Add tests for RepositoryProtectedBranche