Fix operation stats tests compilation