I\'m trying to re-render with updated variable. I can be able to call handleMenuCollapse mock function but \'collapsed\' variable does not change.( It should be