fix error test_engine
fixed test for plugin