Fix a flaky test by producing more block in the layer 2 chain, in order to let the time for the node to take into account the deposit.