edited & added rspec tests based on validation change