wrote and passed model creation and validation rspec tests