This line seems very complicated. It's the only way I could find to get an array of all the labels for this test. I'm open to suggestions.