test for escape attributes