merge test case for joblogger to test("local metrics") in SparkListenerSuite