Write out the types.
Some unittest for attribute value.