#719896: followup by tstoeckler, sun: Improve documentation for hook_libraries_info and restructure tests