Fixed test for twisted