Add specs around rspec helper, test exchange

Depending on the version of RSpec and how our test suite is configured,
the example object may or may not respond to #allow. Use the underlying
objects to ensure compatibility.