generate init test.