This fixes a test incompatible with 16bit platforms

Fixes issue #358.