Add test for exit code when runner raises

[finish #54066951]