custom attrs tests