SPOT:1120, add test to spot_put to test invalid int value, fix a bug in ...

...spot_post so the int value get tested.