I like that we currently explicitly test that it is a `Failure[IOException]` because if we use `classOf[IOException]` and some other part of the code throws an `IOException` the test would still succeed which we don't want :)