Fix fetch regression test so it works on 32 bit platforms