revise SubmitOrder APIs and add SubmitOrderTest