rearranged structures tests