Revert "fix a problem of poking negative numbers" - #318

Revert pr #318 but add test code that demonstrates how to poke and expect signed 32-bit values.