I'm not sure I really see the value of converting the normalized names to snake-case here. For testing, it seems more helpful to get the correct normalized name, and test that the style property has the expected value after applying the style.