Electronic circuit comprising a test mode secured by insertion of decoy data in the test chain, associated method