rearrangetest