0ee1026 Backport function tests from centos stream

Authored and Committed by fsuba 3 months ago
    Backport function tests from centos stream