test failure exit code