Add attribibute unit tests