It's a bit confusing to put this test here since this isn't a regression but a new feature. The distinction for regression tests is probably a bit arbitrary, but consider trying to find a better place for it. I would name the method some more descriptive like `test_label_has_required_css_class` and then include a docstring with a description of the behavior and the ticket number.