Fix missing exit codes on unit tests.