Fixed test in resource registry