Fix tests so they make sense on a 32-bit platform