Move test ID check to 'test_init.sh'