completed rspec controller and model testing