Fixed test for singleton