Added function to get a test name by the id