Fix numerous 64->32 errors in the unit tests

Before the 11825 fix, these were all silently ignored.
One more 64->32