yield do_test_command properly