added mgmt cmd for generating test labels