Export saves to file now
Added tests for citation tree