Fix delegate tests thanks to @lionelB :ok_hand: