Fixed test rendering issues