first attempt at using rspec for testing