Fix auto generate test failure.