added some rspec testing for models