(main): Initialize ifs element of ts for ~root test.