Add cucumber test for bibtex preview.