fix failing test caused by 3771e4d511

/cc @rafaelfranca