Fixed test main