Fix retry unit tests

Random is not implicit anymore in SPNL Task, so it must now be passed explecitly...