Drum Machine with React Hooks - Test Weirdly fails

Hi guys,

So it’s been two days through the Drum Machine challenge trying to understand why tests keep failing.

The drum apparently behaves normal, sounds are playing, and in the display div the description of the sound is rendered. Even so, when testing I had alternating values of tests failed. What could be the cause of it?

Here you can find my work so far.