@Test
public void testGetMetadata() {

	TaskID task = new TaskID(8);
	XTraceMetadata md = new XTraceMetadata(task, 0);
	
	Report r = new Report();
	r.put("X-Trace", md.toString());
	r.put("Key1", "Value1");
	r.put("Key2", "Value2");
	
	assertEquals(md, r.getMetadata());
	
	r = new Report();
	r.put("Key1", "Value1");
	r.put("X-Trace", md.toString());
	r.put("Key2", "Value2");
	
	assertEquals(md, r.getMetadata());
}