Add sureFailure() and failureEquals()

These can help verify that things are failing as expected when you are unit testing an API, as I am currently doing.