code: def testInvalidParam(self):
      self.assertConfigureFails(Key(), {"numHarmonics": 0})
      self.assertConfigureFails(Key(), {"pcpSize": 11})
      self.assertConfigureFails(Key(), {"profileType": "invalid"})
      self.assertConfigureFails(Key(), {"slope": -1})
  
file_path: essentia/test/src/unittests/tonal/test_key.py
imports: from essentia_test import *
label_desc: Use image node_id 3 for calling the TestKey obj's underlying member method code with example usage: obj.testInvalidParam() without return types