Fixing the `should.throw()` assertion for exceptions that don't inherit from `Exception`