@Test
public void testAudioVideo() throws Exception {

  operationInstance.setConfiguration("source-tags", "");
  operationInstance.setConfiguration("source-flavor", "*/video-audio");
  operationInstance.setConfiguration("source-flavors", "");
  operationInstance.setConfiguration("force-transcode", "false");
  WorkflowOperationResult result = operationHandler.start(instance, null);
  Assert.assertEquals(Action.CONTINUE, result.getAction());
  Assert.assertEquals("Resulting mediapackage has the wrong number of tracks", 3, result.getMediaPackage()
          .getElements().length);
  Track[] tracks = result.getMediaPackage().getTracks(new MediaPackageElementFlavor("presentation", "video-audio"));
  Assert.assertEquals("Resulting mediapackage has the wrong number of tracks", 1, tracks.length);
  TrackImpl audioVideo = (TrackImpl) tracks[0];
  Assert.assertEquals(-20f, audioVideo.getAudio().get(0).getRmsLevDb().floatValue(), 0.001d);
}