rspec tests for the model passed