Add CSV download link to UI, backfill more tests, add d3 table in UI