It's tested via a hash-debug test, I added a direct test of this fn to the cheshire ns.