api able to add a run type, and list run types of a test type