tests: Fix test error on 32-bit system