queue reordering tests