increased testing coverage with rspec