tests: In test-publish-async, explicitly use func_lib::ref. Refs #1090.