Fixed test
Minor code fix