Electronic circuit comprising a test mode secured by the breaking of a test chain, and associated electronic circuit