added test for attribute pseudo