write_attribute should return a type casted value
Merge pull request #574 from smtlaissezfaire/write_attribute_returns_typecasted_value

write_attribute should return a type casted value