Add more test cases for reordering