added tests for models and update models to have attributes