Add remaining unit test for _order_dms (testing id lookup)