finished rspec tests for models