added tests for int/short/byte to hex string conversion, found possible bugs