Fixes #763
Merge pull request #766 from herby/gh-763

Fixes #763 - invalid at:put:s return value put, plus test