TST: fix failing #2752 tests for 32-bit builds