Fix test suite to use uint (fix compilation on 32 bits targets)