Brexit tensions are a test for Europe, says French minister