add legend label test case