Add tests for rolling back of #setOrder()