fix stack order test case