rearranged tests