`fail()` throws an `AssertionError`, this had to be done like this.