Fix for Issue #182

Possible fix for issue #182.
Tests are a bit ugly since we have to emit the error a few levels deep, but there may be a better way to rspec around that.  Comments and test changes welcome.
I'm trying to figure out if there's a way to do this with `rspec-mocks` but I'm drawing a blank.