test attributes ok