Cleaning up the optional attributes for initialize_attributes
and testing (sort of)