@Test
public void testGenerateTarGz() throws Exception {

    // create a temp directory with some files in it
    File tempDir = createTempDirWithFiles();
    // Compress
    byte[] data = Utils.generateTarGz(tempDir, "newPath");
    // Here, we simply ensure that it did something!
    Assert.assertNotNull(data);
    Assert.assertTrue(data.length > 0);
}