Fixed test with w=3