test_engine: improve the output