Fix failing tests on 32 bit