tests/tools: fix function doc