integration test for generating bibtex