added models rspec tests