[1030889] Fixed pseudo element unit tests