Fixed test for getId()