added rspec
added some model tests