Add tests of pseudoElement attribute for the return values