tests: Fix python test for ContentStat object.