You can use our new `assertThrows` for cleaner tests.