Added tests for #order and #reorder