Add BibWriter tests