Add JUnit tests for BibCli