Refactor model_spec
Add specs for attribute
v 0.0.4