Make sgather tests more robust for POE