reorder test cases