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