rearrange list tests