Don't ->on_done_diag() from test scripts; it messes up the output