createAttribute
Method test sample