added spark in kpi testcase