This line is testing a subset of the `terminate.with_code` test below: This tests for an exit, that tests for a specific exit. You don't need both, so I'd just keep the more specific one.