added basic rspec tests for models