improve the enginetest

improve the enginetest