public static String toStringUtf8(byte[] input) {
        return new String(input, Charsets.UTF_8);
    }
@Test
    public void toStringUtf8() {
        assertThat(Tools.toStringUtf8(new byte[] {0x48, 0x69, 0x21}),
                   is(equalTo("Hi!")));
    }