testing legend