init test and connection