Fix tests for 32 bit machines.