Rearrange test