Fixed test without closure