clearAttributes Method test sample