[integration] add main_test for image test Upstream-commit: fe8aac6f5ae413a967adb0adad0b54abdfb825c4 Component: engine