fixed test on 32-bit platforms