update gemspec and tests to remove deprecation warnings in prep for rspec 3