Fix specs

RSpec.configuration= is no longer defined.
Ensure the original configuration is restored in with_isolated_config
Merge pull request #975 from rosenfeld/fix-specs

Fix specs