Fixing the logic in assert_styles to be stricter in the compare, fixing tests which this breaks.