Fixed test sequencing issue