Reorder Pending and Scheduled columns. Issue: #453
Added testing for xml export. Issue: #453