@Test
public void testProfileParamsDefaults() {

  JobConf configuration = new JobConf();
  String result = configuration.getProfileParams();
  Assert.assertNotNull(result);
  Assert.assertTrue(result.contains("file=%s"));
  Assert.assertTrue(result.startsWith("-agentlib:hprof"));
}