Make the tests pass on threaded environments.

Jruby doesn't like it if you try to catch an exception for another thread, Rbx
apparently doesn't like Rspec's `let` methods.