Finished DocumentSorter and added some print statements to some unittests.