setting up rspec and cleaning up model methods