test_engine: support the non-verbose output mode in get_engine_result()