cleaned int2char. added basic tests