Remove debug line
Fix export formats (and add tests for BibTeX and RIS)