beefing up rspec for testing