[966896] Added unit test for pseudo elements and classes