init test code