unit tests and minor cleanup for unAPI/zotero harvest code [#67575460]