testutils: improve get_stats OF 1.3 support