I am trying to test a react component using Enzyme. I am not able to test the click on the IconButton component and the function doesn\'t get called when i simulate a click.