Avoid problems with integers outside of the range [0; 255] with set_int8.

Adds also a few tests to verify the behavior of String.set and Bigarray.Array1.set don't change