Reorder test cases