Styled self closed elements in unit tests to as `<tag />`.