Fix io.registry tests