completed rspec validation and asscioation testing