[bugzilla] add tests for kpi builder