write First tests for models

write test which makes sure that they have their attributes.